Automattic\WooCommerce\Blocks\BlockTypes\MiniCart A

Total Complexity 75
Dependencies 9
Dependents 0
Total lines 589
Lines of code 354
Logical lines of code 152
Comment lines 152
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
get_markup()
A
38 11 69
enqueue_data()
A
40 11 66
print_lazy_load_scripts()
A
41 9 57
append_script_and_deps_src()
A
50 9 27
get_tax_label()
S
52 5 28
get_cart_price_markup()
S
60 4 12
get_block_type_script()
S
62 4 11
get_cart_instance()
S
69 3 7
get_inner_blocks_translations()
S
58 2 15
get_script_from_handle()
S
66 3 9
get_include_tax_label_markup()
S
70 3 5
get_block_type_editor_script()
S
66 2 8
enqueue_wc_settings()
S
68 2 7
get_cart_payload()
S
67 2 8
__construct()
S
78 1 3
render()
S
79 1 3
initialize()
S
69 1 6
dequeue_wc_settings()
S
81 1 3
register_empty_cart_message_block_pattern()
S
64 1 10